import request from "../../utils/request.js"

//获取设备详情
export const getDeviceDetails = (data) => {
	return request({
		url: "/app/getDeviceDetails",
		method: 'post',
		data
	})
}

//断点续传
export const getBreakCon = (data) => {
	return request({
		url: "/monitor/getBreakCon",
		method: 'post',
		data
	})
}

//获取施工计划列表
export const getAllBuildPlan = (data) => {
	return request({
		url: "/app/getAllBuildPlan",
		method: 'post',
		data
	})
}

//车辆识别录入
export const buildPlanFeedBack = (data) => {
	return request({
		url: "/buPlanCaList/buildPlanFeedBack",
		method: 'post',
		data
	})
}

//摄像头绑定施工计划
export const buildPlanconcat = (data) => {
	return request({
		url: "/buPlanCaList/bindBuildPlan",
		method: 'post',
		data
	})
}

//巡检仪绑定施工计划1
export const reBindBuildPlan = (data) => {
	return request({
		url: "/buPlanCaList/reBindBuildPlan",
		method: 'post',
		data
	})
}

//查看视频
export const getUrlByDeviceIdAW = (data) => {
	return request({
		url: "/monitor/getUrlByDeviceIdAW",
		method: 'post',
		data
	})
}

//摄像头控制上下左右
export const cameraControl = (data) => {
	return request({
		url: "/monitor/cloudControlWA",
		method: 'post',
		data
	})
}

//语音发送
export const sendVoice = (data) => {
	return request({
		url: "/voice/getVoice",
		method: 'post',
		data
	})
}